﻿using System.Web;
using System.Web.Mvc;
using Taobao.Filter;
using Taobao.Manger;

namespace Taobao
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
            filters.Add(new ExceptionFilterAttribute());
            
            //  filters.Add(new PermissionFilterAttribute());
        }
    }
}
